<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" id="viewportId" content="width=device-width,initial-scale=1.0,maximum-scale=1.0"/>
    <meta name="applicable-device" content="pc,mobile">
    <title><?php echo $global_config['title']; ?></title>
    <meta name="keywords" content="<?php echo $gloabl_config['keywords'];?>" />
    <meta name="description" content="<?php echo $gloabl_config['description'];?>" />
    <link type="text/css" href="__PUBLIC__/Home/css/bootstrap.min.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/bass.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/vendor/flexslider/flexslider.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/hdft.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/xy.css" rel="stylesheet"/>
    <script type="text/javascript" src="__PUBLIC__/Home/js/jquery-1.9.1.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="__PUBLIC__/Home/js/bootstrap.min.js" charset="UTF-8"></script>
</head>
<body>
<div class="xy-wrap">
    <include file="Public/header_index"/>
    <!--内容 start-->
    <div class="xy-content">
        <div class="indexbody">
            <!--Banner图-->
            <div class="xy-banner">
                <div id="bannerSlider" class="flexslider">
                    <ul class="slides">
                        <?php foreach($banner_list as $item) { ?>
                            <li>
                                <div class="banner-img">
                                    <img src="<?php echo $item['pic']; ?>" alt="<?php echo $item['name']; ?>">
                                </div>
                            </li>
                        <?php } ?>
                    </ul>
                </div>
            </div>
            <!--快速跳转-->
            <div class="xy-go">
                <ul class="golist clearfix">
                    <li class="goli">
                        <a href="<?php echo U('About/detail', array('nav_flag' => 'about', 'cat1_id' => 1)); ?>" class="golink">
                            <div class="linkimg">
                                <img src="__PUBLIC__/Home/image/goimg0.jpg" alt="图片">
                            </div>
                            <div class="linktxt">
                                <i class="goicon icon0"></i><span>了解向阳</span>
                            </div>
                        </a>
                    </li>
                    <li class="goli">
                        <a href="<?php echo U('News/index', array('nav_flag' => 'news')); ?>" class="golink">
                            <div class="linkimg">
                                <img src="__PUBLIC__/Home/image/goimg1.jpg" alt="图片">
                            </div>
                            <div class="linktxt">
                                <i class="goicon icon1"></i><span>向阳院里</span>
                            </div>
                        </a>
                    </li>
                    <li class="goli">
                        <a href="<?php echo U('About/detail', array('nav_flag' => 'service', 'cat1_id' => 11)); ?>" class="golink">
                            <div class="linkimg">
                                <img src="__PUBLIC__/Home/image/goimg2.jpg" alt="图片">
                            </div>
                            <div class="linktxt">
                                <i class="goicon icon2"></i><span>特色服务</span>
                            </div>
                        </a>
                    </li>
                    <li class="goli">
                        <a href="<?php echo U('Activity/activity', array('nav_flag' => 'activity')); ?>" class="golink">
                            <div class="linkimg">
                                <img src="__PUBLIC__/Home/image/goimg3.jpg" alt="图片">
                            </div>
                            <div class="linktxt">
                                <i class="goicon icon3"></i><span>活动预约</span>
                            </div>
                        </a>
                    </li>
                </ul>

            </div>
        </div>
    </div>
    <!--内容 end-->
    <!--底部 start-->
    <div class="xy-footer">
        <div class="xyft-link">
            <a class="ftlink ftwx" href="javascript:void(0);">
                <i class="fticon icon-wx"></i><em>微信链接</em>
                <span class="ftwx-pop">
                        <img src="image/xyweixin.jpg" class="wximg" alt="wximg">
                        <i class="arrowdown"></i>
                    </span>
            </a>
            <a class="ftlink" href="javascript:void(0);">
                <i class="fticon icon-map"></i><em>网站地图</em>
            </a>
            <a class="ftlink" href="javascript:void(0);">
                <i class="fticon icon-my"></i><em>联系我们</em>
            </a>
        </div>
        <div class="xyft-phone">
            <i class="fticon icon-phone"></i><span>021-<em>5497&nbsp;9988</em></span>
        </div>
        <div class="xyft-copy">
            上海向阳院企业管理有限公司 版权所有 沪ICP备17000130号<br/>
            本网站所有咨询与说明文字仅供参考，如有与本公司相关公告及产品法律文件不符，以相关公告及产品法律文件为准。
        </div>
    </div>
    <!--底部 end-->
</div>
<div id="top">
    <div id="izl_rmenu" class="izl-rmenu">
        <a href="http://www.xiangyangyuan.cn/index.php?m=Home&c=News&a=index&nav_flag=news&cat_id=3"  target="_self" class="btn swtActive">优惠活动</a>
        <a href="http://www.xiangyangyuan.cn/index.php?m=Home&c=Activity&a=checkInApply&nav_flag=activity&menu_flag=checkInApply"  target="_self" class="btn swtConcat">预约试住</a>
        <a href="http://www.xiangyangyuan.cn/index.php?m=Home&c=About&a=contactUs&nav_flag=about&sidebar_flag=about&cat1_id=1"  target="_self" class="btn swtShow">联系我们</a>
        <a href="http://www.xiangyangyuan.cn/index.php?m=Home&c=About&a=detail&nav_flag=about&cat1_id=1&cat_id=43" target="_blank" class="btn swtReserve">房型展示</a>
    </div>
</div>
</body>
<script type="text/javascript" src="__PUBLIC__/Home/vendor/flexslider/jquery.flexslider-min.js" charset="UTF-8"></script>
<script type="text/javascript">
    $(document).ready(function(){
        //Banner初始化
        var sliderOpt = {
            animation: "slide",
            slideshow: true,
            slideDirection: "horizontal",
            slideshowSpeed: 3000, // 自动播放速度毫秒
            animationSpeed: 1000, // 滚动效果播放时长
            controlNav: true,
            keyboardNav: true,
            mousewheel: false,
            pauseOnHover: true,
            prevText: "",
            nextText: ""
        };
        $('#bannerSlider').flexslider(sliderOpt);
    });
</script>
</html>